package com.onlyxiahui.extend.pdf.table.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Description <br>
 * Date 2020-02-04 14:50:30<br>
 * 
 * @author XiaHui [onlovexiahui@qq.com]<br>
 * @since 1.0.0
 */

public class Row {

	final List<Cell> cells = new ArrayList<>();

	public Row() {
	}

	public void addCell(String text) {
		cells.add(new Cell(text));
	}

	public void addCell(Cell cell) {
		cells.add(cell);
	}

	public List<Cell> getCells() {
		return cells;
	}

	public boolean isEmpty() {
		return cells.isEmpty();
	}
}
